const model = require('../models/BaseModel.js')
const { ORDER } = require('../config/tableConfig.js')


/**
 * 生成订单
 * @return 
 */
const addOrderService = (data) =>{
  console.log(data)
  return model.add(ORDER, data)
}


module.exports = {
  addOrderService
}